<%@page import="com.mmy.domain.sys.TSysUser"%>
<!-- 引入地点 -->
<%@page import="com.mmy.domain.constzone.TConstZone"%>
<!-- 引入线路 -->
<%@page import="com.mmy.domain.line.TLineBase"%>
<%@page import="com.mmy.domain.line.TLineTrip"%>
<%@page import="com.mmy.domain.line.VLineBase"%>
<!-- 引入公司 -->
<%@page import="com.mmy.domain.sys.TSysOrg"%>
<!-- 引入集合地点 -->
<%@page import="com.mmy.domain.line.TLinePlace"%>
<%@page import="com.mmy.domain.line.Place"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
 <%
 	TSysUser tSysUser = (TSysUser)session.getAttribute("tSysUser");
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>	
</head>
	<body>
		<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h3>线路详细</h3>
								<input type="hidden" value="${type}" id="type">
							</div>	
						 </div >
					</div>
				</header>
				<section class="container">
					<!-- 显示线路基本信息 -->
					<div class="information" >
					<div class="input-container">
					<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>线路信息
						</h4>
					<table class="info-table">
					<th>线路名</th>
						<td>
							${vLineBase.getLineName() }
						</td>
					<tr>
					<input type="hidden" id="LineID" name="LineID" value="${vLineBase.getLineID() }">
					</tr>
					<tr >
					<th>
						所属区域
						</th>
					<td>
					<c:choose>
						<c:when test="${type == 3 }">
							<label>
								${strCountry}
							</label>
						</c:when>
						<c:otherwise>
							<label>${strProvince }</label>
							<label>${strCity}</label>
							<label>${vLineBase.getZoneName() }</label>
						</c:otherwise>
					</c:choose>
					</td>
				</tr>
			<tr>
				<th>
						所属旅行社
						</th>
					<td>${vLineBase.getOrgName() }</td>
			</tr>
				<tr>
					<th>
						集合地点与时间
						</th>
					<td>
						<c:forEach items="${lstPlaceTime}" var="lstPlaceTime" varStatus="status">
							<p style="margin-bottom:0">地点：${lstPlaceTime.cPlaceID}，时间：${lstPlaceTime.cPlaceTime}</p>
						</c:forEach>
					</td>
					
				</tr>
					<th>
						自费项目
						</th>
					
						<td>${vLineBase.getOwn() } </td>
					
					
				</tr>
				<tr>
					<th>
						温馨提示
						</th>
						<td>${vLineBase.getTips() } </td>
					
				</tr>
				<tr>
					<th>
						接待标准
						</th>
					
						<td>${vLineBase.getStandard() } </td>
					
				</tr>
				
				<tr>
					<th>
							接待说明
							</th>
					
						<td>${vLineBase.getExplain() } </td>					
				</tr>
				
				<tr>
					<th>
								备注
								</th>
				
						<td>${vLineBase.getMemo() } </td>
				</tr>
			</table>
			</div>
				<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>行程信息
						</h4>
					<div class="input-container">
						<!-- <div class="select-condition">
							
								<div class="at-float-right">
							<input type="button" class="btn" value="修改"  onclick="updateLineTrip()"/>
							</div>
							
						</div> -->
				<table class="info-table">
      					  <c:forEach items="${lstLineTrip}" var="lstLineTrip" varStatus="status">					
<tr>
<th rowspan="11"><label >天数</label></th>
<td rowspan="11"><label>${lstLineTrip.getDay() }</label></td>
<th ><label >地点</label></th>
<td ><label>${lstLineTrip.getAddress() }</label></td>
<th ><label >住宿</label></th>
<td ><label>${lstLineTrip.getStay() }</label></td>
<th ><label >含餐</label></th>
<td ><label>${lstLineTrip.getMeal() }</label></td>
</tr>
<tr>
<th ><label>具体行程</label></th>
<td colspan="5"><textarea name="Trip" style="border:none">${lstLineTrip.getTrip() }</textarea></td>
</tr>
<tr>
<th rowspan="4"><label >酒店照片</label></th>
<td><label >图片1:</label></td>
<td colspan="4" ><label>${lstLineTrip.getHotelPath1() }</label></td>
</tr>
<tr>
<td><label >图片2:</label></td>
<td colspan="4" ><label>${lstLineTrip.getHotelPath2() }</label></td>
</tr>
<tr>
<td><label >图片3:</label></td>
<td colspan="4" ><label>${lstLineTrip.getHotelPath3() }</label></td>
</tr>
<tr>
<td><label >图片4:</label></td>
<td colspan="4" ><label>${lstLineTrip.getHotelPath4() }</label></td>
</tr>
<tr>
<th rowspan="4"><label >景点照片</label></th>
<td><label >图片1:</label></td>
<td colspan="4" ><label>${lstLineTrip.getScenicPath1() }</label></td>
</tr>
<tr>
<td><label>图片2:</label></td>
<td colspan="4" ><label>${lstLineTrip.getScenicPath2() }</label></td>
</tr>
<tr>
<td><label >图片3:</label></td>
<td colspan="4" ><label>${lstLineTrip.getScenicPath3() }</label></td>
</tr>
<tr>
<td><label >图片4:</label></td>
<td colspan="4" ><label>${lstLineTrip.getScenicPath4() }</label></td>
</tr>
<tr>
<td><label >备注:</label></td>
<td colspan="5" ><textarea name="Memo" style="border:none">${lstLineTrip.getMemo() }</textarea></td>
</tr>
</c:forEach>
</table>
</div>
		<center>
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
			</center> 
			</div>
			</section>
			</article>
			</main>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>

</body>

</html>